﻿using Ah.Testudin.Engine.Actors;

namespace Ah.Testudin.Engine.Events
{
    public enum MovementDirection
    {
        Forward,
        Backward,
        Left,
        Right
    }

    public class ActorMovingEvent : ITestudinEvent
    {
        #region Properties

        public ActorId ActorId { get; private set; }

        public MovementDirection Direction { get; private set; }

        #endregion

        #region Constructors

        public ActorMovingEvent(
            ActorId actorId,
            MovementDirection direction)
        {
            this.ActorId = actorId;

            this.Direction = direction;
        }

        #endregion

        #region ITestudinEvent

        public EventType EventType
        {
            get { return EventType.ActorMoving; }
        }

        #endregion
    }
}
